package edu.stu.cs.software.family.warehouse.service;

import java.util.List;

import edu.stu.cs.software.family.base.service.GenericManager;
import edu.stu.cs.software.family.warehouse.domain.Product;

public interface ProductManager extends GenericManager<Product, Long> {

	/**
	 * 
	 * @param name
	 * @return
	 */
	List<Product> findByName(String name);
	/**
	 * 
	 * @param userName
	 * @return
	 */
	List<Product> findByCode(String code);
}
